package com.pll.mapper;

import com.pll.pojo.Goods;
import com.pll.pojo.GoodsType;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;
import java.util.ListIterator;

/**
 * @className: CommodityMapper
 * @author: XR_Z
 * @date: 2025/6/7 18:22
 * @Version: 1.0
 * @description: 商品Mapper层
 */
@Mapper
public interface CommodityMapper {

    List<Goods> getItAll();

    List<GoodsType> goodsTypeAll();

    int deleteTheItem(int id);

    int deleteInBulk(@Param("ids") List<Integer> ids);
}
